/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mybean;

import java.io.Serializable;

/**
 *
 * @author Phu
 */
public class Book implements Serializable{
    private String bookID;
    public String bookTitle;
    public String author;
    private String publisher;
    public float price;
    private int catID;
    private String cover;
    public String summary;
    private String details;

    public Book() {
    }

    public Book(String bookID, String bookTitle, String author, String publisher, float price, int catID, String cover, String summary, String details) {
        this.bookID = bookID;
        this.bookTitle = bookTitle;
        this.author = author;
        this.publisher = publisher;
        this.price = price;
        this.catID = catID;
        this.cover = cover;
        this.summary = summary;
        this.details = details;
    }

    public String getBookID() {
        return bookID;
    }

    public void setBookID(String bookID) {
        this.bookID = bookID;
    }

    public String getBookTitle() {
        return bookTitle;
    }

    public void setBookTitle(String bookTitle) {
        this.bookTitle = bookTitle;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getCatID() {
        return catID;
    }

    public void setCatID(int catID) {
        this.catID = catID;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    @Override
    public String toString() {
        return "Book{" + "bookID=" + bookID + ", bookTitle=" + bookTitle + ", author=" + author + ", publisher=" + publisher + ", price=" + price + ", catID=" + catID + ", cover=" + cover + '}';
    }        
}
